/**
 * Created by IntelliJ IDEA.
 * User: p.popov
 * Date: 02.04.13
 * Time: 21:56
 * To change this template use File | Settings | File Templates.
 */
package slicesPanels {
public class Slice3PanelSettings {
    private var _leftCorner: String = "";
    private var _center: String = "";
    private var _rightCorner: String;
	// блик над кнопкой всегда true если не указано false
	private var _blickSource:String = null;

    public function Slice3PanelSettings(leftCorner:String, center:String, rightCorner:String = null, _blickSource:String = null) {
        this._leftCorner = leftCorner;
        this._rightCorner = rightCorner;
        this._center = center;
	    this._blickSource = _blickSource;
    }

    public function get leftCorner():String {
        return _leftCorner;
    }

    public function get center():String {
        return _center;
    }

    public function hasCenter():Boolean{
        return center && center.length>0;
    }

    public function get rightCorner():String {
        return _rightCorner;
    }

	public function get blickSource():String {
		return _blickSource;
	}

}
}
